#include "widget.h"
#include "ui_widget.h"

Widget::Widget(QWidget *parent)
    : QWidget(parent)
    ,ui(new Ui::Widget)
{
    ui->setupUi(this);


    ui->customPlot->setChart(0,100);
    QVector<double> test(100);
    test[0] = 0;
    test[1] = 43;
    test[2] = 77;
    test[3] = 23;
    test[4] = 15;
    test[5] = 11;
    test[6] = 59;
    ui->customPlot->setData(test);
}

Widget::~Widget()
{
    delete ui;
}

